package cn.summit.captcha.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author summit
 * @since 2020/8/19 21:52
 */
@ConfigurationProperties("summit.captcha")
@Data
public class CaptchaProperties {

    private int captchaSize = 4;

    /**
     * 使用到'楷体'字体，系统里没有的话需要安装字体，字体只显示大写，去掉了1,0,i,o几个容易混淆的字符
     */
    public String verifyCodes = "23456789abcdefghjkmnprstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ";

    /**
     * image 宽
     */
    public int width = 114;

    /**
     * 高
     */
    public int height = 40;
}
